
<?php
require('conn.php');
require('functions.php');
require('session.php');
//print_r($userdata);
// if($userdata['phone']==''){
	// echo "<script>alert('请填写手机号码用于登录帐号');location.href='zl.php'</script>";
	// exit;	
// }
?>

 <!doctype html>
<html class="clean-layout">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no,height=device-height" />
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<title>分享赚</title>
<meta name="keywords" content="" />
<meta name="description" content="">
<link href="Css1/base.css" rel="stylesheet" type="text/css" />
<link href="Css1/header.css" rel="stylesheet" type="text/css" />
<link href="Css1/weiui.css" rel="stylesheet" type="text/css" />
<link href="Css1/information.css" rel="stylesheet" type="text/css" />
<link href="Css1/record.css" rel="stylesheet" type="text/css" />
<script type=text/javascript > var app="/user" </script>
<script type="text/javascript" src="Scripts1/jquery.min.js"></script>
<script type=text/javascript src="Scripts1/jquery.common.js"></script> <style>
            html, body{
                height: 100%;
                width:100%;
            }
            body{margin:0;font-family:"微软雅黑","Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;overflow-x: hidden;color: #3a4049;height: 100%;background: #fff}
            body.withHeader {
                padding-top: 80px;
            }
            body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,blockquote,p {
                padding: 0;
                margin: 0;
            }*,*:before,*:after {
                 -webkit-box-sizing:border-box;
                 -moz-box-sizing:border-box;
                 box-sizing:border-box
             }
            .clear:before,.clear:after{
                content: " ";
                display: table;
            }
            input,select,textarea {
                outline: 0;
                background-color: #fff;
                border: 1px solid #D9D9D9;
                display: inline-block;
                padding: 5px 6px 3px;
                font-size: 12px;
                line-height: 20px;
                color: #555555;
                vertical-align: middle;
                resize: none;
            }
            em {
                font-style:normal;
                font-weight:normal;
            }
            img{max-width:100%;width:auto\9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}
            ol,ul,li {
                list-style-type:none;
                padding:0;
                margin:0;
            }
            ol,ul,li {
                list-style-type:none;
            }
            a {
                text-decoration:none;
                outline:none;
                color: #333;
                text-shadow:none;
                resize: none;
            }
            a:hover {
                outline:none;
                text-shadow:none;
            }
            div, input, select, textarea, span, img, table, td, th, p, a, button, ul, li,i {
                border-radius: 0 ;/*!important*/
                -moz-border-radius: 0;
                -webkit-border-radius: 0 ;
                outline:0 none;
            }
			/* 底部浮层 */
			.positionFooter {
				background: #f3f3f3;
				bottom: 0;
				left: 0;
				position: fixed;
				width: 100%;
				z-index: 200;
				border-top: 1px solid #ddd
			}
			.positionFooter li {
				float: left;
				position: relative;
				text-align: center;
				width: 33.3%;
				color: #3096c6;
				padding: 5px 0
			}
			.positionFooter li a {
				color: #8e8e8e;
				padding-top: 30px;
				font-size: 14px;
				display: block
			}
			.positionFooter li a.a1 {
				background: url(static/index/b1.png) no-repeat top center;
				background-size: 30px 27px
			}
			.positionFooter li a.a2 {
				background: url(static/index/b2.png) no-repeat top center;
				background-size: 30px 27px
			}
			.positionFooter li a.a3 {
				background: url(static/index/b3.png) no-repeat top center;
				background-size: 30px 27px
			}
            header{
                display: block;
                z-index: 999;
                overflow: hidden;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
            }
            .top_bar{
                height: 44px;
                position: relative;
                background: rgba(255,50,50,.95);
            }
            .top_bar .abs_m {
                width: 100%;
                text-align: center;
                font-size: 20px;
                color: #fff;
                font-weight: bold;
                line-height: 44px;
            }
            .top_menu_bar{background:rgba(255,255,255,0.95);  height: 37px; }
            .top_menu{overflow:hidden; overflow-x:scroll; -webkit-overflow-scrolling:touch; }
            .top_menu::-webkit-scrollbar { display: none; }
            .top_menu_list {
                white-space: nowrap;
            }
            .top_menu_list .btn.cur {
                color: #d00;
                font-size: 15px;
                background: #ddd;
                border-radius: 20px;
            }
            .top_menu_list .btn {
                white-space: nowrap;
                display: inline-block;
                padding: 0 10px;
                color: #333;
                text-decoration: none;
                font-size: 14px;
                line-height: 26px;
                height: 26px;
                margin: 5px 0px 5px 5px;
                border-radius: 20px;
            }
			.btn-login {
				display: inline-block;
				width: 48%;
				height: 40px;
				border-radius: 3px;
				background: #B9B9B9;
				text-decoration: none;
				line-height: 39px;
				text-align: center;
				font-size: 17px;
				color: rgb(255, 255, 255);
			}			
            .list_content{-webkit-user-select:none;position: relative;}
            section{ border-top:1px solid #f0f0f0; position: relative; background-color: #fff}
            .list_content section:last-child{ border-bottom: 1px solid #f0f0f0; }
            section .article_link{ display:block; padding:10px 10px 10px 14px; text-decoration:none; -webkit-tap-highlight-color:rgba(0,0,0,.1); -webkit-touch-callout:none;}

            section h3{ color:#464646; font-size:17px; font-weight:normal; margin: 0; padding:0; line-height: 1.2em; text-align: justify;}
            .iphone section{ padding: 2px }
            .iphone section .article_link,
            .iphone section h3{ font-weight: bold;}
            .item_info{ font-size: 11px; line-height: 11px; margin-top: 10px; color: #999; position: relative; }
            section.middle_mode .article_link{ padding-right: 110px;}
            section.middle_mode h3{ min-height: 2.4em;}
            section.middle_mode .list_img_holder{ overflow: hidden; position: absolute; right: 10px; top:50%; margin-top: -31px;border-radius: 5px;}


            /* 信息流大图,中图,小图 */
            .list_img_holder{ background:url() #efefef no-repeat center center; background-size:54px; width:90px; height:63px;}
            .list_img_holder img{ border:none; display:block; width:100%; min-height:100%; -webkit-transition:opacity 300ms ease; -moz-transition:opacity ease .3s;  pointer-events: none}
            .list_img_holder_large img{border:none; display:block; width:100%; pointer-events: none}
            .list_img_holder_large_fix img{ position: absolute; }
            .list_image ul{ display:block; margin: 0; padding:0; list-style-type: none; }
            .list_image ul li{ display:inline-block; float:left; overflow:hidden; width:33.3%}
            .list_image ul li .list_img_holder{ margin:0 auto}
            .list_image ul li:first-child .list_img_holder{ float:left}
            .list_image ul li:last-child .list_img_holder{ float:right}

            @media screen and (min-width: 360px) {
              section h3{ font-size:19px;}
              section.middle_mode h3 {min-height: 54px;}
              .list_img_holder{width:106px; height:73px;}
              section.middle_mode .list_img_holder{ margin-top: -36px}
              section.middle_mode .article_link{ padding-right: 130px;}
            }

            @media screen and (min-width: 400px) {
              section h3{ font-size:21px;}
              section.middle_mode h3 {min-height: 58px;}
              .list_img_holder{width:114px; height:80px;}
              section.middle_mode .list_img_holder{ margin-top: -40px }
              section.middle_mode .article_link{ padding-right: 135px }
            }

            @media screen and (min-width: 700px) {
              section h3{ font-size:24px}
              .list_img_holder{width:203px; height:140px;}
              section.middle_mode .list_img_holder{ margin-top: -70px }
              section.middle_mode .article_link{ padding-right: 230px }
              section.middle_mode h3{ min-height: 120px}

              section .media_avatar img{ width: 96px; height: 96px;}
              section .media_info h3{ font-size: 22px;  margin-bottom: 10px;}
            }
            .item_info span{margin-right: 5px;opacity: .75}
            #more-loading{ border-top:1px solid #f0f0f0;background-color: #fff}
            #more-loading a{text-align:center;font-size: 16px;;display:block; padding:10px 10px 10px 14px; text-decoration:none; -webkit-tap-highlight-color:rgba(0,0,0,.1); -webkit-touch-callout:none;}
            .nothing{text-align: center;padding:20px 10px;font-size: 20px;color:#999}
            .nothing i{color:#bbb;opacity: .5}

.g-header {
  width: 100%;
  height: 47px;
  border-bottom: 1px solid #ccc;
  background: #fff;
  z-index: 20;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}.g-header-logo {
  display: block;
  float: left;
  width: 80px;
  height: 40px;
  margin-left: 10px;
  margin-top: 2px;
}
        </style>
</head> 
<body>
<div id="content">
 <?php include('header.php');?>
<script>
	(function () {
		var menustate = document.getElementById('g-menustate');
		menustate.addEventListener("click", function (e) {
			if (menustate.checked) {
				$('#g-menustate').addClass('g-noscroll')
			}else {
				$('#g-menustate').removeClass('g-noscroll')
			}
		});
	})();
</script><div class="l-container"  style=" margin-top:40px;">
	<div class="cp-cash-option clearfix">
		<i class="iconfont">&#xe605;</i>
	 
		<a class="g-btn g-btn-medium-major" href="/listrw.php">我要赚钱</a>
	</div>

<?php
$userid=$session['id'];
$rows=$mysql->query("select * from `rwsh` where `user`='{$userid}' ");

 if($rows){
foreach($rows as $v_tx){
	
	if($v_tx['zt']==0){
		
		$state='参与中';
	}else{
	
	
	if($v_tx['sh']==1){
	$state='审核通过';
}elseif($v_tx['sh']==-1){
	$state='审核不通过';
}else{
	$state='审核中';
}
	}

?>
 <section class="my-allow-projects ">
	<div class="my-projects-title">
		<p class="p1 p3 clearfix">
			<span class="bar"></span>
			<a href="detailrwtj.php?aid=<?php echo $v_tx['rwid']?>&uid=<?php echo $v_tx['user']?>"><?php echo $v_tx['title']?></a>
			<span class="state"><?php echo $state?></span>
		</p>
	</div>
	<ul class="clearfix">
		<li class="l1 l4">
			<p class="clearfix">参与时间<span><?php echo $v_tx['day']?></span></p>
			<p class="clearfix">价格<span><?php echo $v_tx['money']?></span>
			 		</p>
		</li>
	</ul>
</section>

 <?php
 } }
 ?> 
<script>
	(function () {
		setTimeout(function(){
		$('#g-footer').addClass('show');
		},1000);
	})();
</script>
<footer class="g-footer" id="g-footer">
	 
	<p><i class="iconfont">&#xe605;</i> 您的收入安全由阳光保险承保</p>
	 
</footer>
<!--推荐列表页 end -->
<div style="display: none;">
</div>
</div><?php 
include('footer.php');
$mysql->__destruct();
$mysql->close();
?>
</body>
</html>